package com.iris.live.services.data.models;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * 数据核检-保险专员导入数据表实体
 * @Author: wangzhenyan
 * 2017/5/18 14:14
 */
@Entity
@Table(name = "t_insurance_check", schema = "iris_dev", catalog = "")
public class TInsuranceCheckModel {
    private Integer id;
    private String importBatch;
    private String permit;
    private String vin;
    private String evaluationUser;
    private String importInsuredCustName;
    private String importTciPolicyNum;
    private String importVciPolicyNum;
    private Date importTciInvoiceDate;
    private Date importVciInvoiceDate;
    private Date importTciEffectDate;
    private Date importTciExpirationDate;
    private Date importVciEffectDate;
    private Date importVciExpirationDate;
    private String importTciCompany;
    private String importVciCompany;
    private BigDecimal importTciPrice;
    private BigDecimal importVciPrice;
    private BigDecimal importTciFee;
    private BigDecimal importVciFee;
    private String dbInsuredCustName;
    private String dbTciPolicyNum;
    private String dbVciPolicyNum;
    private Date dbTciInvoiceDate;
    private Date dbVciInvoiceDate;
    private Date dbTciEffectDate;
    private Date dbTciExpirationDate;
    private Date dbVciEffectDate;
    private Date dbVciExpirationDate;
    private String dbTciCompany;
    private String dbVciCompany;
    private BigDecimal dbTciPrice;
    private BigDecimal dbVciPrice;
    private BigDecimal dbTciFee;
    private BigDecimal dbVciFee;
    private BigDecimal deductionInsuredCustName;
    private BigDecimal deductionTciPolicyNum;
    private BigDecimal deductionVciPolicyNum;
    private BigDecimal deductionTciInvoiceDate;
    private BigDecimal deductionVciInvoiceDate;
    private BigDecimal deductionTciEffectDate;
    private BigDecimal deductionTciExpirationDate;
    private BigDecimal deductionVciEffectDate;
    private BigDecimal deductionVciExpirationDate;
    private BigDecimal deductionTciCompany;
    private BigDecimal deductionVciCompany;
    private BigDecimal deductionTciPrice;
    private BigDecimal deductionVciPrice;
    private BigDecimal deductionTciFee;
    private BigDecimal deductionVciFee;
    private String compareResult = "00";
    private BigDecimal totalScore;
    private Timestamp importTime;
    private String importUser;

    @Id
    @Column(name = "id", nullable = false)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "import_batch", nullable = true, length = 16)
    public String getImportBatch() {
        return importBatch;
    }

    public void setImportBatch(String importBatch) {
        this.importBatch = importBatch;
    }

    @Basic
    @Column(name = "permit", nullable = true, length = 8)
    public String getPermit() {
        return permit;
    }

    public void setPermit(String permit) {
        this.permit = permit;
    }

    @Basic
    @Column(name = "vin", nullable = true, length = 64)
    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    @Basic
    @Column(name = "evaluation_user", nullable = true, length = 32)
    public String getEvaluationUser() {
        return evaluationUser;
    }

    public void setEvaluationUser(String evaluationUser) {
        this.evaluationUser = evaluationUser;
    }

    @Basic
    @Column(name = "import_insured_cust_name", nullable = true, length = 32)
    public String getImportInsuredCustName() {
        return importInsuredCustName;
    }

    public void setImportInsuredCustName(String importInsuredCustName) {
        this.importInsuredCustName = importInsuredCustName;
    }

    @Basic
    @Column(name = "import_TCI_policy_num", nullable = true, length = 32)
    public String getImportTciPolicyNum() {
        return importTciPolicyNum;
    }

    public void setImportTciPolicyNum(String importTciPolicyNum) {
        this.importTciPolicyNum = importTciPolicyNum;
    }

    @Basic
    @Column(name = "import_VCI_policy_num", nullable = true, length = 32)
    public String getImportVciPolicyNum() {
        return importVciPolicyNum;
    }

    public void setImportVciPolicyNum(String importVciPolicyNum) {
        this.importVciPolicyNum = importVciPolicyNum;
    }

    @Basic
    @Column(name = "import_TCI_invoice_date", nullable = true)
    public Date getImportTciInvoiceDate() {
        return importTciInvoiceDate;
    }

    public void setImportTciInvoiceDate(Date importTciInvoiceDate) {
        this.importTciInvoiceDate = importTciInvoiceDate;
    }

    @Basic
    @Column(name = "import_VCI_invoice_date", nullable = true)
    public Date getImportVciInvoiceDate() {
        return importVciInvoiceDate;
    }

    public void setImportVciInvoiceDate(Date importVciInvoiceDate) {
        this.importVciInvoiceDate = importVciInvoiceDate;
    }

    @Basic
    @Column(name = "import_TCI_effect_date", nullable = true)
    public Date getImportTciEffectDate() {
        return importTciEffectDate;
    }

    public void setImportTciEffectDate(Date importTciEffectDate) {
        this.importTciEffectDate = importTciEffectDate;
    }

    @Basic
    @Column(name = "import_TCI_expiration_date", nullable = true)
    public Date getImportTciExpirationDate() {
        return importTciExpirationDate;
    }

    public void setImportTciExpirationDate(Date importTciExpirationDate) {
        this.importTciExpirationDate = importTciExpirationDate;
    }

    @Basic
    @Column(name = "import_VCI_effect_date", nullable = true)
    public Date getImportVciEffectDate() {
        return importVciEffectDate;
    }

    public void setImportVciEffectDate(Date importVciEffectDate) {
        this.importVciEffectDate = importVciEffectDate;
    }

    @Basic
    @Column(name = "import_VCI_expiration_date", nullable = true)
    public Date getImportVciExpirationDate() {
        return importVciExpirationDate;
    }

    public void setImportVciExpirationDate(Date importVciExpirationDate) {
        this.importVciExpirationDate = importVciExpirationDate;
    }

    @Basic
    @Column(name = "import_TCI_company", nullable = true, length = 32)
    public String getImportTciCompany() {
        return importTciCompany;
    }

    public void setImportTciCompany(String importTciCompany) {
        this.importTciCompany = importTciCompany;
    }

    @Basic
    @Column(name = "import_VCI_company", nullable = true, length = 32)
    public String getImportVciCompany() {
        return importVciCompany;
    }

    public void setImportVciCompany(String importVciCompany) {
        this.importVciCompany = importVciCompany;
    }

    @Basic
    @Column(name = "import_TCI_price", nullable = true, precision = 2)
    public BigDecimal getImportTciPrice() {
        return importTciPrice;
    }

    public void setImportTciPrice(BigDecimal importTciPrice) {
        this.importTciPrice = importTciPrice;
    }

    @Basic
    @Column(name = "import_VCI_price", nullable = true, precision = 2)
    public BigDecimal getImportVciPrice() {
        return importVciPrice;
    }

    public void setImportVciPrice(BigDecimal importVciPrice) {
        this.importVciPrice = importVciPrice;
    }

    @Basic
    @Column(name = "import_TCI_fee", nullable = true, precision = 2)
    public BigDecimal getImportTciFee() {
        return importTciFee;
    }

    public void setImportTciFee(BigDecimal importTciFee) {
        this.importTciFee = importTciFee;
    }

    @Basic
    @Column(name = "import_VCI_fee", nullable = true, precision = 2)
    public BigDecimal getImportVciFee() {
        return importVciFee;
    }

    public void setImportVciFee(BigDecimal importVciFee) {
        this.importVciFee = importVciFee;
    }

    @Basic
    @Column(name = "db_insured_cust_name", nullable = true, length = 32)
    public String getDbInsuredCustName() {
        return dbInsuredCustName;
    }

    public void setDbInsuredCustName(String dbInsuredCustName) {
        this.dbInsuredCustName = dbInsuredCustName;
    }

    @Basic
    @Column(name = "db_TCI_policy_num", nullable = true, length = 32)
    public String getDbTciPolicyNum() {
        return dbTciPolicyNum;
    }

    public void setDbTciPolicyNum(String dbTciPolicyNum) {
        this.dbTciPolicyNum = dbTciPolicyNum;
    }

    @Basic
    @Column(name = "db_VCI_policy_num", nullable = true, length = 32)
    public String getDbVciPolicyNum() {
        return dbVciPolicyNum;
    }

    public void setDbVciPolicyNum(String dbVciPolicyNum) {
        this.dbVciPolicyNum = dbVciPolicyNum;
    }

    @Basic
    @Column(name = "db_TCI_invoice_date", nullable = true)
    public Date getDbTciInvoiceDate() {
        return dbTciInvoiceDate;
    }

    public void setDbTciInvoiceDate(Date dbTciInvoiceDate) {
        this.dbTciInvoiceDate = dbTciInvoiceDate;
    }

    @Basic
    @Column(name = "db_VCI_invoice_date", nullable = true)
    public Date getDbVciInvoiceDate() {
        return dbVciInvoiceDate;
    }

    public void setDbVciInvoiceDate(Date dbVciInvoiceDate) {
        this.dbVciInvoiceDate = dbVciInvoiceDate;
    }

    @Basic
    @Column(name = "db_TCI_effect_date", nullable = true)
    public Date getDbTciEffectDate() {
        return dbTciEffectDate;
    }

    public void setDbTciEffectDate(Date dbTciEffectDate) {
        this.dbTciEffectDate = dbTciEffectDate;
    }

    @Basic
    @Column(name = "db_TCI_expiration_date", nullable = true)
    public Date getDbTciExpirationDate() {
        return dbTciExpirationDate;
    }

    public void setDbTciExpirationDate(Date dbTciExpirationDate) {
        this.dbTciExpirationDate = dbTciExpirationDate;
    }

    @Basic
    @Column(name = "db_VCI_effect_date", nullable = true)
    public Date getDbVciEffectDate() {
        return dbVciEffectDate;
    }

    public void setDbVciEffectDate(Date dbVciEffectDate) {
        this.dbVciEffectDate = dbVciEffectDate;
    }

    @Basic
    @Column(name = "db_VCI_expiration_date", nullable = true)
    public Date getDbVciExpirationDate() {
        return dbVciExpirationDate;
    }

    public void setDbVciExpirationDate(Date dbVciExpirationDate) {
        this.dbVciExpirationDate = dbVciExpirationDate;
    }

    @Basic
    @Column(name = "db_TCI_company", nullable = true, length = 32)
    public String getDbTciCompany() {
        return dbTciCompany;
    }

    public void setDbTciCompany(String dbTciCompany) {
        this.dbTciCompany = dbTciCompany;
    }

    @Basic
    @Column(name = "db_VCI_company", nullable = true, length = 32)
    public String getDbVciCompany() {
        return dbVciCompany;
    }

    public void setDbVciCompany(String dbVciCompany) {
        this.dbVciCompany = dbVciCompany;
    }

    @Basic
    @Column(name = "db_TCI_price", nullable = true, precision = 2)
    public BigDecimal getDbTciPrice() {
        return dbTciPrice;
    }

    public void setDbTciPrice(BigDecimal dbTciPrice) {
        this.dbTciPrice = dbTciPrice;
    }

    @Basic
    @Column(name = "db_VCI_price", nullable = true, precision = 2)
    public BigDecimal getDbVciPrice() {
        return dbVciPrice;
    }

    public void setDbVciPrice(BigDecimal dbVciPrice) {
        this.dbVciPrice = dbVciPrice;
    }

    @Basic
    @Column(name = "db_TCI_fee", nullable = true, precision = 2)
    public BigDecimal getDbTciFee() {
        return dbTciFee;
    }

    public void setDbTciFee(BigDecimal dbTciFee) {
        this.dbTciFee = dbTciFee;
    }

    @Basic
    @Column(name = "db_VCI_fee", nullable = true, precision = 2)
    public BigDecimal getDbVciFee() {
        return dbVciFee;
    }

    public void setDbVciFee(BigDecimal dbVciFee) {
        this.dbVciFee = dbVciFee;
    }

    @Basic
    @Column(name = "deduction_insured_cust_name", nullable = true, precision = 2)
    public BigDecimal getDeductionInsuredCustName() {
        return deductionInsuredCustName;
    }

    public void setDeductionInsuredCustName(BigDecimal deductionInsuredCustName) {
        this.deductionInsuredCustName = deductionInsuredCustName;
    }

    @Basic
    @Column(name = "deduction_TCI_policy_num", nullable = true, precision = 2)
    public BigDecimal getDeductionTciPolicyNum() {
        return deductionTciPolicyNum;
    }

    public void setDeductionTciPolicyNum(BigDecimal deductionTciPolicyNum) {
        this.deductionTciPolicyNum = deductionTciPolicyNum;
    }

    @Basic
    @Column(name = "deduction_VCI_policy_num", nullable = true, precision = 2)
    public BigDecimal getDeductionVciPolicyNum() {
        return deductionVciPolicyNum;
    }

    public void setDeductionVciPolicyNum(BigDecimal deductionVciPolicyNum) {
        this.deductionVciPolicyNum = deductionVciPolicyNum;
    }

    @Basic
    @Column(name = "deduction_TCI_invoice_date", nullable = true, precision = 2)
    public BigDecimal getDeductionTciInvoiceDate() {
        return deductionTciInvoiceDate;
    }

    public void setDeductionTciInvoiceDate(BigDecimal deductionTciInvoiceDate) {
        this.deductionTciInvoiceDate = deductionTciInvoiceDate;
    }

    @Basic
    @Column(name = "deduction_VCI_invoice_date", nullable = true, precision = 2)
    public BigDecimal getDeductionVciInvoiceDate() {
        return deductionVciInvoiceDate;
    }

    public void setDeductionVciInvoiceDate(BigDecimal deductionVciInvoiceDate) {
        this.deductionVciInvoiceDate = deductionVciInvoiceDate;
    }

    @Basic
    @Column(name = "deduction_TCI_effect_date", nullable = true, precision = 2)
    public BigDecimal getDeductionTciEffectDate() {
        return deductionTciEffectDate;
    }

    public void setDeductionTciEffectDate(BigDecimal deductionTciEffectDate) {
        this.deductionTciEffectDate = deductionTciEffectDate;
    }

    @Basic
    @Column(name = "deduction_TCI_expiration_date", nullable = true, precision = 2)
    public BigDecimal getDeductionTciExpirationDate() {
        return deductionTciExpirationDate;
    }

    public void setDeductionTciExpirationDate(BigDecimal deductionTciExpirationDate) {
        this.deductionTciExpirationDate = deductionTciExpirationDate;
    }

    @Basic
    @Column(name = "deduction_VCI_effect_date", nullable = true, precision = 2)
    public BigDecimal getDeductionVciEffectDate() {
        return deductionVciEffectDate;
    }

    public void setDeductionVciEffectDate(BigDecimal deductionVciEffectDate) {
        this.deductionVciEffectDate = deductionVciEffectDate;
    }

    @Basic
    @Column(name = "deduction_VCI_expiration_date", nullable = true, precision = 2)
    public BigDecimal getDeductionVciExpirationDate() {
        return deductionVciExpirationDate;
    }

    public void setDeductionVciExpirationDate(BigDecimal deductionVciExpirationDate) {
        this.deductionVciExpirationDate = deductionVciExpirationDate;
    }

    @Basic
    @Column(name = "deduction_TCI_company", nullable = true, precision = 2)
    public BigDecimal getDeductionTciCompany() {
        return deductionTciCompany;
    }

    public void setDeductionTciCompany(BigDecimal deductionTciCompany) {
        this.deductionTciCompany = deductionTciCompany;
    }

    @Basic
    @Column(name = "deduction_VCI_company", nullable = true, precision = 2)
    public BigDecimal getDeductionVciCompany() {
        return deductionVciCompany;
    }

    public void setDeductionVciCompany(BigDecimal deductionVciCompany) {
        this.deductionVciCompany = deductionVciCompany;
    }

    @Basic
    @Column(name = "deduction_TCI_price", nullable = true, precision = 2)
    public BigDecimal getDeductionTciPrice() {
        return deductionTciPrice;
    }

    public void setDeductionTciPrice(BigDecimal deductionTciPrice) {
        this.deductionTciPrice = deductionTciPrice;
    }

    @Basic
    @Column(name = "deduction_VCI_price", nullable = true, precision = 2)
    public BigDecimal getDeductionVciPrice() {
        return deductionVciPrice;
    }

    public void setDeductionVciPrice(BigDecimal deductionVciPrice) {
        this.deductionVciPrice = deductionVciPrice;
    }

    @Basic
    @Column(name = "deduction_TCI_fee", nullable = true, precision = 2)
    public BigDecimal getDeductionTciFee() {
        return deductionTciFee;
    }

    public void setDeductionTciFee(BigDecimal deductionTciFee) {
        this.deductionTciFee = deductionTciFee;
    }

    @Basic
    @Column(name = "deduction_VCI_fee", nullable = true, precision = 2)
    public BigDecimal getDeductionVciFee() {
        return deductionVciFee;
    }

    public void setDeductionVciFee(BigDecimal deductionVciFee) {
        this.deductionVciFee = deductionVciFee;
    }

    @Basic
    @Column(name = "compare_result", nullable = true, length = 2)
    public String getCompareResult() {
        return compareResult;
    }

    public void setCompareResult(String compareResult) {
        this.compareResult = compareResult;
    }

    @Basic
    @Column(name = "total_score", nullable = true, precision = 2)
    public BigDecimal getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    @Basic
    @Column(name = "import_time", nullable = true)
    public Timestamp getImportTime() {
        return importTime;
    }

    public void setImportTime(Timestamp importTime) {
        this.importTime = importTime;
    }

    @Basic
    @Column(name = "import_user", nullable = true, length = 32)
    public String getImportUser() {
        return importUser;
    }

    public void setImportUser(String importUser) {
        this.importUser = importUser;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TInsuranceCheckModel that = (TInsuranceCheckModel) o;

        if (id != that.id) return false;
        if (importBatch != null ? !importBatch.equals(that.importBatch) : that.importBatch != null) return false;
        if (permit != null ? !permit.equals(that.permit) : that.permit != null) return false;
        if (vin != null ? !vin.equals(that.vin) : that.vin != null) return false;
        if (evaluationUser != null ? !evaluationUser.equals(that.evaluationUser) : that.evaluationUser != null)
            return false;
        if (importInsuredCustName != null ? !importInsuredCustName.equals(that.importInsuredCustName) : that.importInsuredCustName != null)
            return false;
        if (importTciPolicyNum != null ? !importTciPolicyNum.equals(that.importTciPolicyNum) : that.importTciPolicyNum != null)
            return false;
        if (importVciPolicyNum != null ? !importVciPolicyNum.equals(that.importVciPolicyNum) : that.importVciPolicyNum != null)
            return false;
        if (importTciInvoiceDate != null ? !importTciInvoiceDate.equals(that.importTciInvoiceDate) : that.importTciInvoiceDate != null)
            return false;
        if (importVciInvoiceDate != null ? !importVciInvoiceDate.equals(that.importVciInvoiceDate) : that.importVciInvoiceDate != null)
            return false;
        if (importTciEffectDate != null ? !importTciEffectDate.equals(that.importTciEffectDate) : that.importTciEffectDate != null)
            return false;
        if (importTciExpirationDate != null ? !importTciExpirationDate.equals(that.importTciExpirationDate) : that.importTciExpirationDate != null)
            return false;
        if (importVciEffectDate != null ? !importVciEffectDate.equals(that.importVciEffectDate) : that.importVciEffectDate != null)
            return false;
        if (importVciExpirationDate != null ? !importVciExpirationDate.equals(that.importVciExpirationDate) : that.importVciExpirationDate != null)
            return false;
        if (importTciCompany != null ? !importTciCompany.equals(that.importTciCompany) : that.importTciCompany != null)
            return false;
        if (importVciCompany != null ? !importVciCompany.equals(that.importVciCompany) : that.importVciCompany != null)
            return false;
        if (importTciPrice != null ? !importTciPrice.equals(that.importTciPrice) : that.importTciPrice != null)
            return false;
        if (importVciPrice != null ? !importVciPrice.equals(that.importVciPrice) : that.importVciPrice != null)
            return false;
        if (importTciFee != null ? !importTciFee.equals(that.importTciFee) : that.importTciFee != null) return false;
        if (importVciFee != null ? !importVciFee.equals(that.importVciFee) : that.importVciFee != null) return false;
        if (dbInsuredCustName != null ? !dbInsuredCustName.equals(that.dbInsuredCustName) : that.dbInsuredCustName != null)
            return false;
        if (dbTciPolicyNum != null ? !dbTciPolicyNum.equals(that.dbTciPolicyNum) : that.dbTciPolicyNum != null)
            return false;
        if (dbVciPolicyNum != null ? !dbVciPolicyNum.equals(that.dbVciPolicyNum) : that.dbVciPolicyNum != null)
            return false;
        if (dbTciInvoiceDate != null ? !dbTciInvoiceDate.equals(that.dbTciInvoiceDate) : that.dbTciInvoiceDate != null)
            return false;
        if (dbVciInvoiceDate != null ? !dbVciInvoiceDate.equals(that.dbVciInvoiceDate) : that.dbVciInvoiceDate != null)
            return false;
        if (dbTciEffectDate != null ? !dbTciEffectDate.equals(that.dbTciEffectDate) : that.dbTciEffectDate != null)
            return false;
        if (dbTciExpirationDate != null ? !dbTciExpirationDate.equals(that.dbTciExpirationDate) : that.dbTciExpirationDate != null)
            return false;
        if (dbVciEffectDate != null ? !dbVciEffectDate.equals(that.dbVciEffectDate) : that.dbVciEffectDate != null)
            return false;
        if (dbVciExpirationDate != null ? !dbVciExpirationDate.equals(that.dbVciExpirationDate) : that.dbVciExpirationDate != null)
            return false;
        if (dbTciCompany != null ? !dbTciCompany.equals(that.dbTciCompany) : that.dbTciCompany != null) return false;
        if (dbVciCompany != null ? !dbVciCompany.equals(that.dbVciCompany) : that.dbVciCompany != null) return false;
        if (dbTciPrice != null ? !dbTciPrice.equals(that.dbTciPrice) : that.dbTciPrice != null) return false;
        if (dbVciPrice != null ? !dbVciPrice.equals(that.dbVciPrice) : that.dbVciPrice != null) return false;
        if (dbTciFee != null ? !dbTciFee.equals(that.dbTciFee) : that.dbTciFee != null) return false;
        if (dbVciFee != null ? !dbVciFee.equals(that.dbVciFee) : that.dbVciFee != null) return false;
        if (deductionInsuredCustName != null ? !deductionInsuredCustName.equals(that.deductionInsuredCustName) : that.deductionInsuredCustName != null)
            return false;
        if (deductionTciPolicyNum != null ? !deductionTciPolicyNum.equals(that.deductionTciPolicyNum) : that.deductionTciPolicyNum != null)
            return false;
        if (deductionVciPolicyNum != null ? !deductionVciPolicyNum.equals(that.deductionVciPolicyNum) : that.deductionVciPolicyNum != null)
            return false;
        if (deductionTciInvoiceDate != null ? !deductionTciInvoiceDate.equals(that.deductionTciInvoiceDate) : that.deductionTciInvoiceDate != null)
            return false;
        if (deductionVciInvoiceDate != null ? !deductionVciInvoiceDate.equals(that.deductionVciInvoiceDate) : that.deductionVciInvoiceDate != null)
            return false;
        if (deductionTciEffectDate != null ? !deductionTciEffectDate.equals(that.deductionTciEffectDate) : that.deductionTciEffectDate != null)
            return false;
        if (deductionTciExpirationDate != null ? !deductionTciExpirationDate.equals(that.deductionTciExpirationDate) : that.deductionTciExpirationDate != null)
            return false;
        if (deductionVciEffectDate != null ? !deductionVciEffectDate.equals(that.deductionVciEffectDate) : that.deductionVciEffectDate != null)
            return false;
        if (deductionVciExpirationDate != null ? !deductionVciExpirationDate.equals(that.deductionVciExpirationDate) : that.deductionVciExpirationDate != null)
            return false;
        if (deductionTciCompany != null ? !deductionTciCompany.equals(that.deductionTciCompany) : that.deductionTciCompany != null)
            return false;
        if (deductionVciCompany != null ? !deductionVciCompany.equals(that.deductionVciCompany) : that.deductionVciCompany != null)
            return false;
        if (deductionTciPrice != null ? !deductionTciPrice.equals(that.deductionTciPrice) : that.deductionTciPrice != null)
            return false;
        if (deductionVciPrice != null ? !deductionVciPrice.equals(that.deductionVciPrice) : that.deductionVciPrice != null)
            return false;
        if (deductionTciFee != null ? !deductionTciFee.equals(that.deductionTciFee) : that.deductionTciFee != null)
            return false;
        if (deductionVciFee != null ? !deductionVciFee.equals(that.deductionVciFee) : that.deductionVciFee != null)
            return false;
        if (compareResult != null ? !compareResult.equals(that.compareResult) : that.compareResult != null)
            return false;
        if (totalScore != null ? !totalScore.equals(that.totalScore) : that.totalScore != null) return false;
        if (importTime != null ? !importTime.equals(that.importTime) : that.importTime != null) return false;
        if (importUser != null ? !importUser.equals(that.importUser) : that.importUser != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (importBatch != null ? importBatch.hashCode() : 0);
        result = 31 * result + (permit != null ? permit.hashCode() : 0);
        result = 31 * result + (vin != null ? vin.hashCode() : 0);
        result = 31 * result + (evaluationUser != null ? evaluationUser.hashCode() : 0);
        result = 31 * result + (importInsuredCustName != null ? importInsuredCustName.hashCode() : 0);
        result = 31 * result + (importTciPolicyNum != null ? importTciPolicyNum.hashCode() : 0);
        result = 31 * result + (importVciPolicyNum != null ? importVciPolicyNum.hashCode() : 0);
        result = 31 * result + (importTciInvoiceDate != null ? importTciInvoiceDate.hashCode() : 0);
        result = 31 * result + (importVciInvoiceDate != null ? importVciInvoiceDate.hashCode() : 0);
        result = 31 * result + (importTciEffectDate != null ? importTciEffectDate.hashCode() : 0);
        result = 31 * result + (importTciExpirationDate != null ? importTciExpirationDate.hashCode() : 0);
        result = 31 * result + (importVciEffectDate != null ? importVciEffectDate.hashCode() : 0);
        result = 31 * result + (importVciExpirationDate != null ? importVciExpirationDate.hashCode() : 0);
        result = 31 * result + (importTciCompany != null ? importTciCompany.hashCode() : 0);
        result = 31 * result + (importVciCompany != null ? importVciCompany.hashCode() : 0);
        result = 31 * result + (importTciPrice != null ? importTciPrice.hashCode() : 0);
        result = 31 * result + (importVciPrice != null ? importVciPrice.hashCode() : 0);
        result = 31 * result + (importTciFee != null ? importTciFee.hashCode() : 0);
        result = 31 * result + (importVciFee != null ? importVciFee.hashCode() : 0);
        result = 31 * result + (dbInsuredCustName != null ? dbInsuredCustName.hashCode() : 0);
        result = 31 * result + (dbTciPolicyNum != null ? dbTciPolicyNum.hashCode() : 0);
        result = 31 * result + (dbVciPolicyNum != null ? dbVciPolicyNum.hashCode() : 0);
        result = 31 * result + (dbTciInvoiceDate != null ? dbTciInvoiceDate.hashCode() : 0);
        result = 31 * result + (dbVciInvoiceDate != null ? dbVciInvoiceDate.hashCode() : 0);
        result = 31 * result + (dbTciEffectDate != null ? dbTciEffectDate.hashCode() : 0);
        result = 31 * result + (dbTciExpirationDate != null ? dbTciExpirationDate.hashCode() : 0);
        result = 31 * result + (dbVciEffectDate != null ? dbVciEffectDate.hashCode() : 0);
        result = 31 * result + (dbVciExpirationDate != null ? dbVciExpirationDate.hashCode() : 0);
        result = 31 * result + (dbTciCompany != null ? dbTciCompany.hashCode() : 0);
        result = 31 * result + (dbVciCompany != null ? dbVciCompany.hashCode() : 0);
        result = 31 * result + (dbTciPrice != null ? dbTciPrice.hashCode() : 0);
        result = 31 * result + (dbVciPrice != null ? dbVciPrice.hashCode() : 0);
        result = 31 * result + (dbTciFee != null ? dbTciFee.hashCode() : 0);
        result = 31 * result + (dbVciFee != null ? dbVciFee.hashCode() : 0);
        result = 31 * result + (deductionInsuredCustName != null ? deductionInsuredCustName.hashCode() : 0);
        result = 31 * result + (deductionTciPolicyNum != null ? deductionTciPolicyNum.hashCode() : 0);
        result = 31 * result + (deductionVciPolicyNum != null ? deductionVciPolicyNum.hashCode() : 0);
        result = 31 * result + (deductionTciInvoiceDate != null ? deductionTciInvoiceDate.hashCode() : 0);
        result = 31 * result + (deductionVciInvoiceDate != null ? deductionVciInvoiceDate.hashCode() : 0);
        result = 31 * result + (deductionTciEffectDate != null ? deductionTciEffectDate.hashCode() : 0);
        result = 31 * result + (deductionTciExpirationDate != null ? deductionTciExpirationDate.hashCode() : 0);
        result = 31 * result + (deductionVciEffectDate != null ? deductionVciEffectDate.hashCode() : 0);
        result = 31 * result + (deductionVciExpirationDate != null ? deductionVciExpirationDate.hashCode() : 0);
        result = 31 * result + (deductionTciCompany != null ? deductionTciCompany.hashCode() : 0);
        result = 31 * result + (deductionVciCompany != null ? deductionVciCompany.hashCode() : 0);
        result = 31 * result + (deductionTciPrice != null ? deductionTciPrice.hashCode() : 0);
        result = 31 * result + (deductionVciPrice != null ? deductionVciPrice.hashCode() : 0);
        result = 31 * result + (deductionTciFee != null ? deductionTciFee.hashCode() : 0);
        result = 31 * result + (deductionVciFee != null ? deductionVciFee.hashCode() : 0);
        result = 31 * result + (compareResult != null ? compareResult.hashCode() : 0);
        result = 31 * result + (totalScore != null ? totalScore.hashCode() : 0);
        result = 31 * result + (importTime != null ? importTime.hashCode() : 0);
        result = 31 * result + (importUser != null ? importUser.hashCode() : 0);
        return result;
    }
}
